projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2baa22c
)
(gud-watch): Add "$" prefix when in registers buffer.
author
Nick Roberts
<nickrob@snap.net.nz>
Tue, 22 Apr 2008 06:25:15 +0000
(06:25 +0000)
committer
Nick Roberts
<nickrob@snap.net.nz>
Tue, 22 Apr 2008 06:25:15 +0000
(06:25 +0000)
lisp/progmodes/gdb-ui.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/gdb-ui.el
b/lisp/progmodes/gdb-ui.el
index 9c1d2c9762e4874b25c5e5f0f8c654039be8aa4d..9899d55eac3ca9f505f718fe4074f1bbd4cce841 100644
(file)
--- a/
lisp/progmodes/gdb-ui.el
+++ b/
lisp/progmodes/gdb-ui.el
@@
-751,7
+751,8
@@
With arg, enter name of variable to be watched in the minibuffer."
'gud-gdb-complete-command)
(if (and transient-mark-mode mark-active)
(buffer-substring (region-beginning) (region-end))
- (tooltip-identifier-from-point (point))))))
+ (concat (if (eq major-mode 'gdb-registers-mode) "$")
+ (tooltip-identifier-from-point (point)))))))
(speedbar 1)
(set-text-properties 0 (length expr) nil expr)
(gdb-enqueue-input